<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑问卷</title>
    <link rel="stylesheet" href="../css/nav.css">
    <link rel="stylesheet" href="../css/edit.css">
    <script defer src="../js/edit.js"></script>
</head>

<body>
    <!-- 遮罩 -->
    <div class="Sure">
        <div class="sure">
            <h3>提示</h3>
            <br><br>
            <h4>是否发布问卷？</h4>
            <p id="suredeadline">(此问卷截至日期为)</p>
            <button class="yes" onclick="remainSecond()">确定</button>
            <button class="no">取消</button>
        </div>
    </div>
    <!-- 导航栏 -->
    <nav>
        <div class="circle">
            <p>?</p>
        </div>
        <p style="font-size: 16px;" class="Test">问卷管理</p>
        <p style="font-size: 12px;margin-left:40px;">我的问卷</p>
    </nav>

    <div class="manage">
        <div class="create">
            <p style="font-size:35px ;">+</p>
            <p style="display:flex;height: 18px;width: 74px;padding: 0px 0px 0px 10px;">新建问卷</p>
        </div>
        <div class="edit"><!-- 编辑问卷 -->
            <div style="display: flex;justify-content: center;">
                <input id="title" type="text" placeholder="这里是标题">
            </div>
            <hr>
            <div class="question">
            </div>
            <div class="add">
                <div class="add1" style="display: none;justify-content: center;background-color: white;margin: auto;">
                    <div class="option1"
                        style="border-style:solid;background-color: #efefef;border-color: #d1d1d1;font-size: 12px;text-align: center;padding:2px 15px;margin: 10px;cursor: pointer;">
                        ◉ 单选</div>
                    <div class="option2"
                        style="border-style:solid;background-color: #efefef;border-color: #d1d1d1;font-size: 12px;text-align: center;padding:2px 15px;margin: 10px;cursor: pointer;">
                        ▣ 多选</div>
                    <div class="option3"
                        style="border-style:solid;background-color: #efefef;border-color: #d1d1d1;font-size: 12px;text-align: center;padding:2px 15px;margin: 10px;cursor: pointer;">
                        ▤ 文本题</div>
                </div>
                <div class="add2" style="display: flex;justify-content: center;height: 65px;align-items: center;cursor: pointer;">
                    <p style="font-size:25px; color:#555555;">+</p>
                    <p style="display:flex;height: 18px;width: 74px;padding: 0px 0px 0px 10px;font-size: 14px;">添加问题</p>
                </div>
            </div>
            <hr>
            <div class="foot">
                <p style="margin:32px 10px 50px 100px;color: #555555;font-size: 12px;">问卷截止日期</p>
                <div>
                    <input type="date" id="deadline" style="margin-top: 30px;width: 150px;">
                </div>
                <div style="display: flex;margin-left: auto;">
                    <button class="remain" onclick="remainFirst()" onclick="createEdit()">
                        保存问卷
                    </button>
                    <button class="submit" onclick="createEdit()">
                        发布问卷
                    </button>
                </div>
            </div>
        </div>
    </div>

</body>

</html>